<!--
  @author yangjiangming
  @date 2018-12-10 20:40:28
-->
<!DOCTYPE html>
<html th:replace="~{work/modify/common/layout :: layout('取消', ~{::title}, ~{::content}, ~{::script})}"
      xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>工单管理-标记</title>
</head>
<body>

<div th:fragment="content">
    <style>
    </style>
    <form class="layui-form" action="" method="post">
        <input type="text" hidden name="orderId" th:value="${orderTagVO.orderId}">
        <input type="text" hidden name="workId" th:value="${orderTagVO.workId}">

        <div class="layui-form-item" id="review-success">

            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-form-item" id="tag">
                        <label class="layui-form-label">标志类型：</label>
                        <div class="layui-input-block">
                                <input th:title="${tag.text}" name="tag" th:value="${tag.value}"
                                       lay-filter="tag"
                                       type="checkbox"
                                       th:each="tag:${orderTagVO.tagList}"
                                       th:checked="${tag.selected}"
                                       th:disabled="${tag.disabled}"
                                       title="标志类型">
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">备注：</label>
            <div class="layui-input-inline">
                    <textarea placeholder="请输入缘由" maxlength="500" id="remark" name="remark" lay-filter="remark"
                              class="layui-textarea" style="width: 500px;"></textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="button" class="layui-btn" lay-submit lay-filter="save" style="width: 100px"
                       value="保存"></input>
            </div>
        </div>

    </form>
</div>


<script th:inline="javascript">
    let tagList = [[${orderTagVO.tagList}]];

    var layuiModel = {
        oms_work_modify_ordertag: "work/modify/zmn.oms.work.modify.ordertag"
    };
</script>
</body>
</html>